can't use these as these are not yet pacakged
authorLaszlo Boszormenyi (GCS) <gcs@debian.org>
Tue, 2 Dec 2025 18:03:25 +0000 (19:03 +0100)
committerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Tue, 2 Dec 2025 18:03:25 +0000 (19:03 +0100)
Forwarded: no
Last-Update: 2025-10-19

Comment out these for now.

Gbp-Pq: Name missing_go_test.patch

lib/go/test/Makefile.am
test/go/Makefile.am
test/go/src/common/clientserver_test.go

index d76f24815dde759889dd1052d2461c104ac7e502..cc516477ef7e023db26813a5132d55cfe73eb7c1 100644 (file)
@@ -123,7 +123,6 @@ check: gopath
                                ./gopath/src/duplicateimportstest \
                                ./gopath/src/equalstest \
                                ./gopath/src/conflictargnamestest \
-                               ./gopath/src/processormiddlewaretest \
                                ./gopath/src/clientmiddlewareexceptiontest \
                                ./gopath/src/validatetest \
                                ./gopath/src/forwardtypetest
index a00fc379431d6fda41aed12233f8b4543fd0c0f1..b4262d8717104e8be755ab18447b5fb4f3bd73c0 100644 (file)
@@ -58,7 +58,7 @@ check: gopath genmock
        $(GO) test -v ./src/gen/...
 
 genmock: gopath
-       sh genmock.sh
+       echo sh genmock.sh
 
 distdir:
        $(MAKE) $(AM_MAKEFLAGS) distdir-am
index 48203b6739a864d655e32f5205f5c659fb35bd4e..12b0c21a2e7273a39fa3c9c35da369934529d150 100644 (file)
@@ -21,15 +21,9 @@ package common
 
 import (
        "context"
-       "errors"
-       "fmt"
-       "reflect"
        "sync"
        "testing"
 
-       "github.com/golang/mock/gomock"
-
-       "github.com/apache/thrift/lib/go/thrift"
        "github.com/apache/thrift/test/go/src/gen/thrifttest"
 )
 
@@ -62,6 +56,7 @@ func TestAllConnection(t *testing.T) {
 }
 
 func doUnit(t *testing.T, unit *test_unit) {
+/*
        t.Run(fmt.Sprintf("%v", *unit), func(t *testing.T) {
                ctrl := gomock.NewController(t)
                defer ctrl.Finish()
@@ -87,6 +82,7 @@ func doUnit(t *testing.T, unit *test_unit) {
                defer trans.Close()
                callEverythingWithMock(t, client, handler)
        })
+**/
 }
 
 var rmapmap = map[int32]map[int32]int32{
@@ -104,6 +100,7 @@ var xxs = &thrifttest.Xtruct{
 var xcept = &thrifttest.Xception{ErrorCode: 1001, Message: "some"}
 var defaultCtx = context.Background()
 
+/*
 func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, handler *MockThriftTest) {
        u := thrift.Tuuid{
                0x00, 0x11, 0x22, 0x33,
@@ -355,3 +352,4 @@ func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, h
                t.Errorf("Unexpected error in TestVoid() call: %s", err)
        }
 }
+**/